package com.gp.sys.domain;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

import com.gp.base.BaseDomain;

/**
 * Role entity. @author MyEclipse Persistence Tools
 */

public class SysRole extends BaseDomain implements java.io.Serializable {

	// Fields

	private String id;
	private String roleNo;
	private String roleName;
	private String remark;
	private String creator;
	private Timestamp createDate;
	private String lastUpdater;
	private Timestamp lastUpdaterDate;
	private String deleteFlag;

	private List<SysResource> sysResources = new ArrayList<SysResource>();
	// Constructors

	/** default constructor */
	public SysRole() {
	}

	/** minimal constructor */
	public SysRole(String id) {
		this.id = id;
	}

	/** full constructor */
	public SysRole(String id, String roleNo, String roleName, String remark,
			String creator, Timestamp createDate, String lastUpdater,
			Timestamp lastUpdaterDate, String deleteFlag) {
		this.id = id;
		this.roleNo = roleNo;
		this.roleName = roleName;
		this.remark = remark;
		this.creator = creator;
		this.createDate = createDate;
		this.lastUpdater = lastUpdater;
		this.lastUpdaterDate = lastUpdaterDate;
		this.deleteFlag = deleteFlag;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoleNo() {
		return this.roleNo;
	}

	public void setRoleNo(String roleNo) {
		this.roleNo = roleNo;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getLastUpdater() {
		return this.lastUpdater;
	}

	public void setLastUpdater(String lastUpdater) {
		this.lastUpdater = lastUpdater;
	}

	public Timestamp getLastUpdaterDate() {
		return this.lastUpdaterDate;
	}

	public void setLastUpdaterDate(Timestamp lastUpdaterDate) {
		this.lastUpdaterDate = lastUpdaterDate;
	}

	public String getDeleteFlag() {
		return this.deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public List<SysResource> getSysResources() {
		return sysResources;
	}

	public void setSysResources(List<SysResource> sysResources) {
		this.sysResources = sysResources;
	}

	
}